#include<iostream>
using namespace std;

#include "log.h"
using namespace ycq::logger;
int main(void)
{
	std::cout << "welcome ycq_log" << std::endl;

	Logger::instance()->open("./test.log");
	
	Logger::instance()->level(Logger::INFO);

	Logger::instance()->max(200);
	
	debug("hello world");
	info("hello world");
	warn("hello world");
	error("hello world");
	fatal("hello world");
	debug("hello world");
	info("hello world");
	warn("hello world");
	error("hello world");
	fatal("hello world");


	return 0;
}